package com.dt76.smallloanbackenduser.hystrix.hzp;

import com.dt76.smallloanbackenduser.pojo.hzp.HContractTemplate;
import com.dt76.smallloanbackenduser.remote.hzp.HContractTemplateRemote;
import com.dt76.smallloanbackenduser.utils.Page;
import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.List;
@Component
public class HContractTemplateHystrix implements HContractTemplateRemote {
    @Override
    public List<HContractTemplate> qryAllHCT() {
        System.out.println("qryAllHCT()熔断机制生效");
        return new ArrayList<>();
    }

    @Override
    public Page qryPageHCT(Integer pageIndex, Integer pageSize) {
        return new Page();
    }

}
